package com.examplemartin.jpademo.pojo.po.sell;

import com.examplemartin.jpademo.pojo.admin.BaseEntity;
import com.examplemartin.jpademo.pojo.po.good.GoodPO;
import java.io.Serializable;
import javax.persistence.Entity;
import javax.persistence.ManyToOne;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * 销售缺货单明细实体
 */

@Data
@EqualsAndHashCode(callSuper = true)
@Entity(name = "t_shortdetail")
public class ShortDetailPO extends BaseEntity implements Serializable {

  // 销售缺货单 one
  @ManyToOne
  private ShortPO shortPO;

  // 商品 one
  @ManyToOne
  private GoodPO goodPO;

  // 数量
  private Integer goodcount;

  // 单价
  private Float price;


}
